/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package semantica.tipos;

/**
 *
 * @author Javi
 */
public class TipoBoolean extends Tipo{
    
    boolean valor;
    
    public TipoBoolean(boolean valor){
        this.tipo = "boolean";
        this.tam = 1;
        this.valor = valor;
    }
    
    public TipoBoolean(){
        this.tipo = "boolean";
        this.tam = 1;
    }
    
    
    public boolean getValor(){
        return this.valor;
    }
     
    public void setValor(boolean valor){
        this.valor = valor;
    }
}